Optimal. Leaf size=154 \[ -\frac {2 a^2 x^{m+3} \, _3F_2\left (1,\frac {m}{2}+\frac {3}{2},\frac {m}{2}+\frac {3}{2};\frac {m}{2}+2,\frac {m}{2}+\frac {5}{2};a^2 x^2\right )}{m^3+6 m^2+11 m+6}-\frac {2 a \sqrt {1-a x} x^{m+2} \cosh ^{-1}(a x) \, _2F_1\left (\frac {1}{2},\frac {m+2}{2};\frac {m+4}{2};a^2 x^2\right )}{\left (m^2+3 m+2\right ) \sqrt {a x-1}}+\frac {x^{m+1} \cosh ^{-1}(a x)^2}{m+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 167, normalized size of antiderivative = 1.08, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5662, 5763} \[ -\frac {2 a^2 x^{m+3} \, _3F_2\left (1,\frac {m}{2}+\frac {3}{2},\frac {m}{2}+\frac {3}{2};\frac {m}{2}+2,\frac {m}{2}+\frac {5}{2};a^2 x^2\right )}{m^3+6 m^2+11 m+6}-\frac {2 a \sqrt {1-a^2 x^2} x^{m+2} \cosh ^{-1}(a x) \, _2F_1\left (\frac {1}{2},\frac {m+2}{2};\frac {m+4}{2};a^2 x^2\right )}{\left (m^2+3 m+2\right ) \sqrt {a x-1} \sqrt {a x+1}}+\frac {x^{m+1} \cosh ^{-1}(a x)^2}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5662
Rule 5763
Rubi steps
\begin {align*} \int x^m \cosh ^{-1}(a x)^2 \, dx &=\frac {x^{1+m} \cosh ^{-1}(a x)^2}{1+m}-\frac {(2 a) \int \frac {x^{1+m} \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{1+m}\\ &=\frac {x^{1+m} \cosh ^{-1}(a x)^2}{1+m}-\frac {2 a x^{2+m} \sqrt {1-a^2 x^2} \cosh ^{-1}(a x) \, _2F_1\left (\frac {1}{2},\frac {2+m}{2};\frac {4+m}{2};a^2 x^2\right )}{\left (2+3 m+m^2\right ) \sqrt {-1+a x} \sqrt {1+a x}}-\frac {2 a^2 x^{3+m} \, _3F_2\left (1,\frac {3}{2}+\frac {m}{2},\frac {3}{2}+\frac {m}{2};2+\frac {m}{2},\frac {5}{2}+\frac {m}{2};a^2 x^2\right )}{6+11 m+6 m^2+m^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.38, size = 143, normalized size = 0.93 \[ \frac {x^{m+1} \left (\cosh ^{-1}(a x)^2-\frac {2 a x \left (\frac {a x \, _3F_2\left (1,\frac {m}{2}+\frac {3}{2},\frac {m}{2}+\frac {3}{2};\frac {m}{2}+2,\frac {m}{2}+\frac {5}{2};a^2 x^2\right )}{m+3}+\frac {\sqrt {1-a^2 x^2} \cosh ^{-1}(a x) \, _2F_1\left (\frac {1}{2},\frac {m+2}{2};\frac {m+4}{2};a^2 x^2\right )}{\sqrt {a x-1} \sqrt {a x+1}}\right )}{m+2}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.74, size = 0, normalized size = 0.00 \[ {\rm integral}\left (x^{m} \operatorname {arcosh}\left (a x\right )^{2}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \operatorname {arcosh}\left (a x\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.14, size = 0, normalized size = 0.00 \[ \int x^{m} \mathrm {arccosh}\left (a x \right )^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {x x^{m} \log \left (a x + \sqrt {a x + 1} \sqrt {a x - 1}\right )^{2}}{m + 1} - \int \frac {2 \, {\left (\sqrt {a x + 1} \sqrt {a x - 1} a^{2} x^{2} x^{m} + {\left (a^{3} x^{3} - a x\right )} x^{m}\right )} \log \left (a x + \sqrt {a x + 1} \sqrt {a x - 1}\right )}{a^{3} {\left (m + 1\right )} x^{3} - a {\left (m + 1\right )} x + {\left (a^{2} {\left (m + 1\right )} x^{2} - m - 1\right )} \sqrt {a x + 1} \sqrt {a x - 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^m\,{\mathrm {acosh}\left (a\,x\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \operatorname {acosh}^{2}{\left (a x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________